from django import shortcuts
from django.core.context_processors import csrf
import time

def csrf_render_to_response(request, template, context):
    context.update(csrf(request))
    return shortcuts.render_to_response(template, context)

def default_slug():
    return int(time.time())
